#nav 
{ 
    float: right;
    margin-top: 1%;
    margin-right: 2%;
    height: 30px; 
    list-style: none;
    
    font-family: Tahoma, Calibri, Verdana;
    font-weight: bold;
    border-color: #fff;
    border-width: thin;
    border-style: ridge;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    
    background-color: #00529B;
}

#nav li 
{ 
    float: left; 
    position: relative;
    list-style: none;
    margin: 0 0.2em;
}

#nav li a 
{ 
    display: block; 
    padding: 5px 8px; 
    line-height: 20px;
    list-style: none; 
    color: #fff;
    
    background-color: #00529B;
}

#nav li ul 
{ 
    display: none; 
    position: absolute; 
    top: 30px; 
    left: 0; 
    width: 90px; 
    text-align: center;
    
}

#nav li:hover ul 
{ 
    display: block; 
}

#nav li ul li 
{ 
    float: none; 
}

#nav li ul li a 
{ 
    display: inline-block; 
}

#nav li ul li a 
{ 
    display: block; 
}
